<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>登录-物流系统</title>

<!-- Bootstrap -->
<link href="#(HOSTRESOUCE_PATH)/css/bootstrap.min.css" rel="stylesheet">

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
<script type="text/javascript">
	function encode(){
		var password = hex_sha1($('input[name="password"]').val());
		    $('input[name="password"]').val(password);
		    return true;	
	}
</script>
</head>
<style>
#loginPanel {
	margin-top: 40px;
}
</style>
<body>
	<div class="body">
		<div id="loginPanel"
			class="col-md-offset-4 col-md-4 col-xs-12 panel panel-success">
			<form action="login">
				<h2 class="form-signin-heading">用户登录</h2>
				<span style="color: red">#(msg??)</span> 
				<br> <br> 
				<label for="employeeID" class="sr-only">employeeID</label> 
				<input type="username" name="employeeID" class="form-control"
					placeholder="工号" required autofocus> 
				<br> <br> 
				<label for="inputPassword" class="sr-only">password</label> 
				<input type="password" name="password" class="form-control"
					placeholder="密码" required> 
				<br> 
				<button class="btn btn-lg btn-primary btn-block" type="submit" onclick="encode()">登录</button>
			</form>
		</div>
	</div>
	<script src="#(HOSTRESOUCE_PATH)/js/jquery.min.js"></script>
	<script src="#(HOSTRESOUCE_PATH)/js/bootstrap.min.js"></script>
	<script src="#(HOSTRESOUCE_PATH)/js/checkCode.js"></script>
	<script src="#(HOSTRESOUCE_PATH)/inc/lib/sha1.js"></script>
</body>
</html>